﻿// -----------------------------------------------------------------------
// <copyright file="Enumerations.cs" company="FastNET Services">
//     Copyright (c) 2008-2009. All Rights Reserved.
// </copyright>
// <license>
//     GPLv2
// </license>
// <warranty>
//     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
//     BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
//     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
//     DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
//     OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// </warranty>
// -----------------------------------------------------------------------

namespace GateShift.Servers.GameServer
{
    /// <summary>
    /// Specifies the type of update to apply to the console screen
    /// </summary>
    public enum ConsoleUpdateType
    {
        /// <summary>
        /// Updates the header area of the screen
        /// </summary>
        Header = 0,

        /// <summary>
        /// Updates the content area of the screen
        /// </summary>
        Content = 1,

        /// <summary>
        /// Updates the command line area of the screen
        /// </summary>
        Command = 2
    }

    /// <summary>
    /// The categories to use during logging
    /// </summary>
    public enum CoreLogCategories
    {
        //// Core categories - 100 to 199

        /// <summary>
        /// System Core Functionality
        /// </summary>
        SystemCore = 100,

        //// Managers - 200 to 299

        /// <summary>
        /// Generic manager log
        /// </summary>
        Manager = 200,

        /// <summary>
        /// Console Management Log
        /// </summary>
        ConsoleManager = 201,

        /// <summary>
        /// Connection Management Log
        /// </summary>
        ConnectionManager = 202,

        /// <summary>
        /// Session Management Log
        /// </summary>
        SessionManager = 203,

        /// <summary>
        /// Service Management Log
        /// </summary>
        ServiceManager = 204
    }

    /// <summary>
    /// Enumeration used for arguments parsed
    /// </summary>
    public enum ArgumentAction
    {
        /// <summary>
        /// An invalid argument was found
        /// </summary>
        InvalidArgument = -1,

        /// <summary>
        /// Argument for Printing Help was found
        /// </summary>
        PrintHelp = 0,

        /// <summary>
        /// Argument for Console Mode was found
        /// </summary>
        ConsoleMode = 1
    }
}